home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing.text;
-
- import com.sun.java.swing.AbstractAction;
- import java.awt.event.ActionEvent;
-
- class JTextComponent$FocusAction extends AbstractAction {
- // $FF: synthetic field
- JTextComponent this$0;
-
- public void actionPerformed(ActionEvent e) {
- this.this$0.requestFocus();
- }
-
- public boolean isEnabled() {
- return this.this$0.isEditable();
- }
-
- // $FF: synthetic method
- JTextComponent$FocusAction(JTextComponent this$0) {
- this.this$0 = this$0;
- }
- }
-